#pragma once
#include "CError.h"

class CErrorEventArgs;

class CParserError :
	public CError
{
public: 
	static long Create(unsigned int, unsigned int, CXString *, CXString *, CXString *, unsigned int, unsigned int, struct XSTRING * *, unsigned int, struct IError * *, struct IErrorService *);

protected: 
	CParserError(unsigned int, unsigned int, CXString *, CXString *, CXString *, unsigned int, unsigned int, struct IErrorService *);

	virtual ~CParserError();
public: 
	virtual long SetErrorEventArgs(struct IDependencyObject *);
	virtual long GenerateErrorEventArgs(CErrorEventArgs * *, struct ICoreServices *);
	CXString * m_pstrXamlFileName;
	CXString * m_pstrXmlElement;
	CXString * m_pstrXmlAttribute;
};

